package com.edu.gcu.system.pojo;

import java.util.Date;

public class Dealer {
    private String id;

    private String openId;

    private String nickname;

    private Integer sex;

    private String headImgUrl;

    private String country;

    private String province;

    private String city;

    private String language;

    private String authorizationCode;

    private Integer status;

    private Integer level;

    private Integer type;

    private Date createTime;

    private String createBy;

    private String updateBy;

    private Date updateTime;

    private String parentAuthCode;

    private String phone;

    public Dealer(String id, String openId, String nickname, Integer sex, String headImgUrl, String country, String province, String city, String language, String authorizationCode, Integer status, Integer level, Integer type, Date createTime, String createBy, String updateBy, Date updateTime, String parentAuthCode, String phone) {
        this.id = id;
        this.openId = openId;
        this.nickname = nickname;
        this.sex = sex;
        this.headImgUrl = headImgUrl;
        this.country = country;
        this.province = province;
        this.city = city;
        this.language = language;
        this.authorizationCode = authorizationCode;
        this.status = status;
        this.level = level;
        this.type = type;
        this.createTime = createTime;
        this.createBy = createBy;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
        this.parentAuthCode = parentAuthCode;
        this.phone = phone;
    }

    public Dealer() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId == null ? null : openId.trim();
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getHeadImgUrl() {
        return headImgUrl;
    }

    public void setHeadImgUrl(String headImgUrl) {
        this.headImgUrl = headImgUrl == null ? null : headImgUrl.trim();
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country == null ? null : country.trim();
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language == null ? null : language.trim();
    }

    public String getAuthorizationCode() {
        return authorizationCode;
    }

    public void setAuthorizationCode(String authorizationCode) {
        this.authorizationCode = authorizationCode == null ? null : authorizationCode.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getParentAuthCode() {
        return parentAuthCode;
    }

    public void setParentAuthCode(String parentAuthCode) {
        this.parentAuthCode = parentAuthCode == null ? null : parentAuthCode.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }
}